package com.example.databasepj.Request;

public class DishInsertRequest {
    //{
    //  "merchant_ID": 123456,
    //  "dish_name": "麻婆豆腐",
    //  "dish_category": "中餐",
    //  "price": 25.5,
    //  "description": "四川传统美食，麻辣鲜香",
    //  "ingredient": "豆腐, 牛肉末, 辣椒",
    //  "nutritionInfo": "每100克含热量150千卡",
    //  "allergen": "豆制品",
    //  "isSignatureDish": 1  // 0--不是主打菜品\r\n    1--是主打菜品\r\n
    //}
    private int merchant_ID;
    private String dish_name;
    private String dish_category;
    private float price;
    private String description;
    private String ingredient;
    private String nutritionInfo;
    private String allergen;
    private int isSignatureDish;

    public DishInsertRequest() {
    }

    public DishInsertRequest(int merchant_ID, String dish_name, String dish_category) {
        this.merchant_ID = merchant_ID;
        this.dish_name = dish_name;
        this.dish_category = dish_category;
    }

    public DishInsertRequest(int merchant_ID, String dish_name, String dish_category, float price, String description, String ingredient, String nutritionInfo, String allergen, int isSignatureDish) {
        this.merchant_ID = merchant_ID;
        this.dish_name = dish_name;
        this.dish_category = dish_category;
        this.price = price;
        this.description = description;
        this.ingredient = ingredient;
        this.nutritionInfo = nutritionInfo;
        this.allergen = allergen;
        this.isSignatureDish = isSignatureDish;
    }

    public int getMerchant_ID() {
        return merchant_ID;
    }

    public void setMerchant_ID(int merchant_ID) {
        this.merchant_ID = merchant_ID;
    }

    public String getDish_name() {
        return dish_name;
    }

    public void setDish_name(String dish_name) {
        this.dish_name = dish_name;
    }

    public String getDish_category() {
        return dish_category;
    }

    public void setDish_category(String dish_category) {
        this.dish_category = dish_category;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIngredient() {
        return ingredient;
    }

    public void setIngredient(String ingredient) {
        this.ingredient = ingredient;
    }

    public String getNutritionInfo() {
        return nutritionInfo;
    }

    public void setNutritionInfo(String nutritionInfo) {
        this.nutritionInfo = nutritionInfo;
    }

    public String getAllergen() {
        return allergen;
    }

    public void setAllergen(String allergen) {
        this.allergen = allergen;
    }

    public int getIsSignatureDish() {
        return isSignatureDish;
    }

    public void setIsSignatureDish(int isSignatureDish) {
        this.isSignatureDish = isSignatureDish;
    }
}
